package com.ruoyi.video.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 user
 * 
 * @author zunzun
 * @date 2023-11-21
 */
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 昵称 */
    @Excel(name = "昵称")
    private String name;

    /** 密码 */
    private String pwd;

    /** 头像 */
    @Excel(name = "头像")
    private String headImg;

    /** 用户签名 */
    private String slogan;

    /** 0表示女，1表示男 */
    private Long sex;

    /** 积分 */
    private Long points;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String mail;

    /** 盐，用于个人敏感信息处理 */
    private String secret;

    /** 到期时间 */
    private Date expirationData;

    /** 剩余次数
 */
    private Long countSum;

    /** 币  */
    @Excel(name = "币 ")
    private Long coin;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPwd(String pwd) 
    {
        this.pwd = pwd;
    }

    public String getPwd() 
    {
        return pwd;
    }
    public void setHeadImg(String headImg) 
    {
        this.headImg = headImg;
    }

    public String getHeadImg() 
    {
        return headImg;
    }
    public void setSlogan(String slogan) 
    {
        this.slogan = slogan;
    }

    public String getSlogan() 
    {
        return slogan;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setPoints(Long points) 
    {
        this.points = points;
    }

    public Long getPoints() 
    {
        return points;
    }
    public void setMail(String mail) 
    {
        this.mail = mail;
    }

    public String getMail() 
    {
        return mail;
    }
    public void setSecret(String secret) 
    {
        this.secret = secret;
    }

    public String getSecret() 
    {
        return secret;
    }
    public void setExpirationData(Date expirationData) 
    {
        this.expirationData = expirationData;
    }

    public Date getExpirationData() 
    {
        return expirationData;
    }
    public void setCountSum(Long countSum) 
    {
        this.countSum = countSum;
    }

    public Long getCountSum() 
    {
        return countSum;
    }
    public void setCoin(Long coin) 
    {
        this.coin = coin;
    }

    public Long getCoin() 
    {
        return coin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("pwd", getPwd())
            .append("headImg", getHeadImg())
            .append("slogan", getSlogan())
            .append("sex", getSex())
            .append("points", getPoints())
            .append("createTime", getCreateTime())
            .append("mail", getMail())
            .append("secret", getSecret())
            .append("expirationData", getExpirationData())
            .append("countSum", getCountSum())
            .append("coin", getCoin())
            .toString();
    }
}
